clipboard()

Read(2978) Label: clipboard content,

Description:

Set system clipboard content.

Syntax:

clipboard(s)

Note:

The function sets the content of the system clipboard; return the clipboard content in string format if parameter s is absent.

Parameter:

s

The content to be copied to clipboard, whose data type can be table sequence, string, numeric, date, time, and datetime; can be omitted

Option:

@e

If the clipboard content comes from Excel, record it to return; otherwise the function will return the content previously copied.

Return value:

Boolean/String

Example:

 

A

 

1

=clipboard("runqian")

Set system clipboard content as runqian.

2

=clipboard()

Return the clipboard content since parameter s is absent.

3

=clipboard@e()

Copy content in an Excel file.

Return the records after A3’s is executed.